home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000137_fdc@watsun.cc.columbia.edu_Fri Nov 9 09:29:33 EST 2001.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
2KB
|
42 lines
Article: 12957 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc
Subject: Re: OSR5 <sys/termio.h> (OSR5 modem signals)
Date: 9 Nov 2001 14:29:58 GMT
Organization: Columbia University
Lines: 25
Message-ID: <9sgp96$9nc$1@newsmaster.cc.columbia.edu>
References: <9s775v$ip0$1@newsmaster.cc.columbia.edu> <3bea05eb$0$79559$8eec23a@newsreader.tycho.net> <9se63k$kqo$1@newsmaster.cc.columbia.edu> <3beb40ea$0$79556$8eec23a@newsreader.tycho.net>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1005316198 9964 128.59.39.2 (9 Nov 2001 14:29:58 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 Nov 2001 14:29:58 GMT
Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:140086 comp.protocols.kermit.misc:12957
In article <3beb40ea$0$79556$8eec23a@newsreader.tycho.net>,
John DuBois <spcecdt@deeptht.armory.com> wrote:
: In article <9se63k$kqo$1@newsmaster.cc.columbia.edu>,
: Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
: > ttyfd = open(name,O_RDWR|O_NONBLOCK);
: > tcsetattr(ttyfd,TCSADRAIN,&ttcur);
: >
: >... any write() to the reopened device gets error 11, "Resource
: >temporarily unavailable". Did I miss a step? Or is this a difference
: >between 5.0.6a and earlier OSR5s?
:
: You missed a step (the same one that a lot of app writers did); it's one that
: didn't trip anyone up until tty behaviour was made POSIX-correct in 5.0.0.
:
Let's hear it for political correctess.
I stumbled on this trick (setting CLOCAL) yesterday independently, and now SCO
5.0.5 Kermit can hang up a modem by momentarily dropping DTR without wedging
itself afterwards. I suppose it should have been obvious -- after all, if
you do hang up the modem successfully, you can't really expect carrier to be
on afterwards.
Thanks! Now on to the next thing (modem servers...)
- Frank